package com.heima.entity;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class UserInfo {
    private Integer userId;
    private Integer deptId;
    private String userName;
    private String nickName;
    private String email;
    private String phonenumber;
    private String sex;
    private String avatar;
    private String salt;
    private String status;
    private String roleIds;
    private String createBy;
    private String delFlag;
    private String loginIp;
    private LocalDateTime loginDate;
    private LocalDateTime createTime;
    private String updateBy;
    private LocalDateTime updateTime;
    private String admin;  // 判断是否为 admin, 0表示非, 1表示是
}